import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/home.vue'
import User from '@/pages/user/user.vue'
import GoodsAdd from '@/pages/sell/sell.vue'
import Message from '@/pages/message/message.vue'
import SellCategoryList from '@/pages/categorylist/CategoryList.vue'
import SellPrice from '@/pages/price/Price.vue'

import keybord from '@/pages/price/components/keybord.vue'

Vue.use(Router)

export default new Router({
  routes: [{
		path: '/',
		name: 'Home',
		component: Home
    },{
		path: '/user',
		name: 'User',
		component: User
    },{
		path: '/sell',
		name: 'GoodsAdd',
		component: GoodsAdd
    },{
		path: '/message',
		name: 'Message',
		component: Message
    },{
		path: '/sell/categorylist',
		name: 'SellCategoryList',
		component: SellCategoryList
    },{
		path: '/sell/setprice',
		name: 'SellPrice',
		component: SellPrice
    },{
		path: '/sell/keybord',
		name: 'keybord',
		component: keybord
    }]
})
